Skip to content

test: harden keyboard-interactive hops, sudo abort, and chunking - #126

Merged
cmp-202 merged 1 commit into
masterfrom
test/hardening-batch
Nov 18, 2026
Merged

cmp-202 merged 1 commit into
masterfrom
test/hardening-batch

Conversation

@cmp-202

@cmp-202 cmp-202 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

"Test-only hardening batch. No runtime or release change.\n\n### Added\n- test/live/hop_keyboard_interactive.js: proves the README claim that keyboard-interactive works on nested hosts (server2 parent over forwardOut to server1\u0027s kbduser).\n- test/live/sudo_abort.js: verifies abortOnSudoFailure stops at the rejected prompt, logs sudo-failed, and never runs the follow-up command.\n- test/unit/chunking.test.js: feeds one PTY transcript (wrapped echo, ANSI, CRLF, prompt) through onData at every two-byte split and byte-at-a-time, asserting identical completion.\n- test/unit/host-hop.test.js: asserts a hop\u0027s host-scoped onKeyboardInteractive receives the challenge and answers with the child credentials.\n\n### Changed\n- scripts/run-live.js: success checks for both new live tests; nested keyboard-interactive added to the curated batch.\n- CHANGELOG.md: [Unreleased] development entry.\n\nAll local unit checks pass: npm run test:src 185/185, npm test 185/185 plus baseline 170 pass / 15 skipped. Live tests will run in CI."

@cmp-202
cmp-202 merged commit f4755ef into master Nov 18, 2026
8 checks passed
@cmp-202
cmp-202 deleted the test/hardening-batch branch November 18, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant